const p = new Promise(function (resolve, reject) {
  $.ajax({
    url: 'aside.json',
    type: "GET",
    cache: false,
    error(err) {
      reject(err)
    },
    success(data) {
      resolve(data)
    }
  })
})

p.then(([, , third]) => {
  return new Promise((resolve, reject) => {
    $.ajax({
      url: 'banner.json',
      type: 'get',
      cache: false,
      error(err) {
        reject(err)
      },
      success(date) {
        resolve(date)
      }
    })
  })
}).then(banner => {
  console.log(banner)
}).catch(err => {
  console.log(err);
})